package com.team11.server.service.admin;

import com.team11.server.mapper.Admin_DeleteSInP_Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@Service
public class Admin_DeleteSInP_Service {
    @Autowired
    private Admin_DeleteSInP_Mapper admin_deleteSInP_mapper;
    public String deleteSInP(HashMap<String,Object> map){
        Integer t=admin_deleteSInP_mapper.UpdateSInP(map);
        if (t>0){
            return "删除成功";
        }
        else return "该学员已不存在此小组";
    }

}
